package com.woniu.cinema.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.woniu.common.annotation.Excel;
import com.woniu.common.core.domain.BaseEntity;

/**
 * 座位信息对象 tb_seat
 * 
 * @author yy
 * @date 2021-04-16
 */
public class Seat extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long seatId;

    /** 座位x坐标 */
    @Excel(name = "座位x坐标")
    private Long seatX;

    /** 座位y坐标 */
    @Excel(name = "座位y坐标")
    private Long seatY;

    /** 座位状态0-不可用 1-空闲 2-占用 */
    @Excel(name = "座位状态0-不可用 1-空闲 2-占用")
    private Long seatStatus;

    /** 影厅id */
    @Excel(name = "影厅id")
    private Long hallId;

    /** 影厅电影场次id */
    @Excel(name = "影厅电影场次id")
    private Long hallMovieId;

    /** 座位描述 */
    @Excel(name = "座位描述")
    private String seatName;

    public void setSeatId(Long seatId) 
    {
        this.seatId = seatId;
    }

    public Long getSeatId() 
    {
        return seatId;
    }
    public void setSeatX(Long seatX) 
    {
        this.seatX = seatX;
    }

    public Long getSeatX() 
    {
        return seatX;
    }
    public void setSeatY(Long seatY) 
    {
        this.seatY = seatY;
    }

    public Long getSeatY() 
    {
        return seatY;
    }
    public void setSeatStatus(Long seatStatus) 
    {
        this.seatStatus = seatStatus;
    }

    public Long getSeatStatus() 
    {
        return seatStatus;
    }
    public void setHallId(Long hallId) 
    {
        this.hallId = hallId;
    }

    public Long getHallId() 
    {
        return hallId;
    }
    public void setHallMovieId(Long hallMovieId) 
    {
        this.hallMovieId = hallMovieId;
    }

    public Long getHallMovieId() 
    {
        return hallMovieId;
    }
    public void setSeatName(String seatName) 
    {
        this.seatName = seatName;
    }

    public String getSeatName() 
    {
        return seatName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("seatId", getSeatId())
            .append("seatX", getSeatX())
            .append("seatY", getSeatY())
            .append("seatStatus", getSeatStatus())
            .append("hallId", getHallId())
            .append("hallMovieId", getHallMovieId())
            .append("seatName", getSeatName())
            .toString();
    }
}
